@import "../css/var";

.list {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.h100{
  height: 100%;
}
.scroll-box {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.scroll-box::before {
  content: '';
  width: 1px;
  position: absolute;
  top: 0;
  left: 0;
  min-height: calc(100% + 1px);
}

.spin-box {
  width: 40px;
  height: 40px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -20px;
  margin-top: -45px;
  border-radius: 50%;
  background: #fff;
  font-size: 30px;
  z-index: 98;
}

.spin {
  height: 30px;
  width: 30px;
  margin: 5px;
  /* animation: loading-rotate 2s linear infinite; */
}

.path {
  /* animation: loading-dash 1.5s ease-in-out infinite; */
  stroke-dasharray: 90, 150;
  stroke-dashoffset: 0;
  stroke-width: 3;
  stroke: $blue;
  stroke-linecap: round;
}

.zoom-in {
  opacity: 0;
  transform: scale3d(0, 0, 0) rotateZ(-360deg);
  transition: all 0.4s;
}

.load-more {
  text-align: center;
  height: 0.5rem;
  line-height: 0.5rem;
}

.load-end {
  color: #999;
}

.to-top {
  font-family: iconfont-common;
  font-weight: bold;
  position: fixed;
  color: $primary;
  font-size: 0.18rem;
  width: 0.4rem;
  height: 0.4rem;
  line-height: 0.4rem;
  border-radius: 50%;
  background: #fff;
  text-align: center;
  bottom: 0.1rem;
  right: 0.1rem;
  cursor: pointer;
  opacity: 0.9;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.list > .loading {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  /* font-size: 25px !important; */
}

.success-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.3rem;
  line-height: 0.3rem;
  background: #fff;
  text-align: center;
  z-index: 99;
  color: $blue;
  /* border: 1px solid #4888ff; */
  box-shadow: 0 1px 2px #ccc;
}
